package com.wenc.psi.pojo;

public class SaleDetail {
    // 单号
    protected String saleId;
    // 序号
    protected int serialNumber;
    // 配件id
    protected String partId;
    // 单价
    protected double price;
    // 数量
    protected int quantity;

    public String getSaleId() {
        return saleId;
    }

    public void setSaleId(String saleId) {
        this.saleId = saleId;
    }

    public int getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(int serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getPartId() {
        return partId;
    }

    public void setPartId(String partId) {
        this.partId = partId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "SaleDetail{" +
                "saleId='" + saleId + '\'' +
                ", serialNumber=" + serialNumber +
                ", partId='" + partId + '\'' +
                ", price=" + price +
                ", quantity=" + quantity +
                '}';
    }
}
